﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using Util;

namespace UtilLibrary
{
    public class BaseService
    {
        protected BaseBizEntity bizBaseEntity = null;
        public void Create()
        {
            this.bizBaseEntity.Create();
        }

        public void Update()
        {
            bizBaseEntity.Update();
        }

        public void Delete()
        {
            bizBaseEntity.Delete();
        }

        public static BaseBizEntity GetBizEntityByID(int pEntityID,Type pBizEntityType)
        {
            return DataAccessor.GetBizDataByID(pEntityID, pBizEntityType);
        }
    }
}
